package demo3;

import org.junit.Test;

public class Demo3 {
    @Test
    public void method(){
        Demo3Teacher t = new Demo3Teacher();
        try {
            t.check(101);
        } catch (ScoreException e) {
            e.printStackTrace();
        }

    }
    @Test
    public void method2(){
        int a=1;
        int b=0;
        try {
            MathDemo.division(a,b);
        } catch (CalculateException e) {
            e.printStackTrace();
        }
    }
}
